package com.hbisedm.interninfosys.intern.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hbisedm.interninfosys.intern.entity.Role;
import com.hbisedm.interninfosys.intern.mapper.RoleMapper;
import com.hbisedm.interninfosys.intern.service.IRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author Sam
 * @since 2020-11-01
 */
@Service
public class RoleServiceImpl extends ServiceImpl<RoleMapper, Role> implements IRoleService {

    @Override
    public Boolean saveDefaultUserAndRole(Integer uid) {
        return this.baseMapper.saveDefaultUserAndRole(uid);
    }

}
